Style a link depending on state

This is a link

Note: :hover must come after :link and :visited in order to be effective.

Note: :active must come after :hover in order to be effective.

Style a link with text-decoration

This is a link

Note: :hover must come after :link and :visited in order to be effective.

Note: :active must come after :hover in order to be effective.

Style a link with background-color

This is a link

Note: :hover must come after :link and :visited in order to be effective.

Note: :active must come after :hover in order to be effective.

Styling Links

Mouse over the links and watch them change layout:

This link changes color

This link changes font-size

This link changes background-color

This link changes font-family

This link changes text-decoration

The cursor Property

Mouse over the words to change the cursor.

auto
crosshair
default
e-resize
help
move
n-resize
ne-resize
nw-resize
pointer
progress
s-resize
se-resize
sw-resize
text
w-resize
wait